import request from '@/utils/request'
export function pwdLoginApi(data) {
    return request({
        url: 'web/api/login/pwd',
        method: 'post',
        data
    })
}

export function getCodeApi(params) {
    return request({
        url: 'web/api/login/code',
        method: 'post',
        params
    })
}

export function messageLoginApi(data) {
    return request({
        url: 'web/api/login/account',
        method: 'post',
        data
    })
}

export function registerApi(data) {
    return request({
        url: 'web/api/register',
        method: 'post',
        data
    })
}